<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>用户主页</title>
	</head>
	<body>
		<h1 align="center">用户主页</h1>
		<table border="1" align="center">
			<tr>
				<th>id</th>
				<th>用户名</th>
				<th>密码</th>
			</tr>
			<c:forEach items="${allUsers }" var="user">
				<tr>
					<td>${user.id }</td>
					<td>${user.username }</td>
					<td>${user.userpass }</td>
				</tr>
			</c:forEach>
		</table>
		
	</body>
</html>